﻿<Activity mc:Ignorable="sap sap2010 sads" x:Class="Egelke.EHealth.Etee.ITest.FromP12wTSAToKnownOut" sap2010:ExpressionActivityEditor.ExpressionActivityEditor="C#" sap2010:WorkflowViewState.IdRef="Egelke.EHealth.Etee.ITest.EndToEnd_1"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:eeecw="clr-namespace:Egelke.EHealth.Etee.Crypto.Wf;assembly=Egelke.EHealth.Etee.Crypto.Wf"
 xmlns:eeecwa="clr-namespace:Egelke.EHealth.Etee.Crypto.Wf.Activity;assembly=Egelke.EHealth.Etee.Crypto.Wf"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mca="clr-namespace:Microsoft.CSharp.Activities;assembly=System.Activities"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:si="clr-namespace:System.IO;assembly=mscorlib"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Linq</x:String>
      <x:String>System.Text</x:String>
      <x:String>System.IO</x:String>
      <x:String>Egelke.EHealth.Etee.Crypto.Wf</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>crypto</AssemblyReference>
      <AssemblyReference>Egelke.EHealth.Client</AssemblyReference>
      <AssemblyReference>Egelke.EHealth.Client.Pki</AssemblyReference>
      <AssemblyReference>Egelke.EHealth.Client.Tsa</AssemblyReference>
      <AssemblyReference>Egelke.EHealth.Etee.Crypto</AssemblyReference>
      <AssemblyReference>Egelke.Eid.Client</AssemblyReference>
      <AssemblyReference>Microsoft.CSharp</AssemblyReference>
      <AssemblyReference>nunit.framework</AssemblyReference>
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>System.Configuration</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System.Data.DataSetExtensions</AssemblyReference>
      <AssemblyReference>System.Drawing</AssemblyReference>
      <AssemblyReference>System.IdentityModel</AssemblyReference>
      <AssemblyReference>System.Runtime.Serialization</AssemblyReference>
      <AssemblyReference>System.Security</AssemblyReference>
      <AssemblyReference>System.ServiceModel</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>WindowsBase</AssemblyReference>
      <AssemblyReference>Egelke.EHealth.Etee.Crypto.Wf</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>Egelke.EHealth.Etee.Crypto.ITest</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <Sequence sap2010:WorkflowViewState.IdRef="Sequence_2">
    <Sequence.Variables>
      <Variable x:TypeArguments="si:Stream" Name="inMsg">
        <Variable.Default>
          <mca:CSharpValue x:TypeArguments="si:Stream">File.OpenRead("Input.txt")</mca:CSharpValue>
        </Variable.Default>
      </Variable>
      <Variable x:TypeArguments="si:Stream" Name="outMsg">
        <Variable.Default>
          <mca:CSharpValue x:TypeArguments="si:Stream">File.OpenWrite("sealed.msg")</mca:CSharpValue>
        </Variable.Default>
      </Variable>
      <Variable x:TypeArguments="eeecw:Sender" Name="SenderVar" />
      <Variable x:TypeArguments="eeecw:Recipients" Name="RecipientsVar" />
    </Sequence.Variables>
    <eeecwa:eHealthP12Sender DisplayName="From Iryna (p12)" sap2010:WorkflowViewState.IdRef="eHealthP12Sender_1">
      <eeecwa:eHealthP12Sender.FileName>
        <InArgument x:TypeArguments="x:String">
          <mca:CSharpValue x:TypeArguments="x:String">@"C:\Users\admin\ehealth\keystore\SSIN=83121034221 20140419-154436.p12"</mca:CSharpValue>
        </InArgument>
      </eeecwa:eHealthP12Sender.FileName>
      <eeecwa:eHealthP12Sender.Password>
        <InArgument x:TypeArguments="x:String">
          <mca:CSharpValue x:TypeArguments="x:String">File.ReadAllText(@"..\..\..\pwd.txt")</mca:CSharpValue>
        </InArgument>
      </eeecwa:eHealthP12Sender.Password>
      <eeecwa:eHealthP12Sender.To>
        <OutArgument x:TypeArguments="eeecw:Sender">
          <mca:CSharpReference x:TypeArguments="eeecw:Sender">SenderVar</mca:CSharpReference>
        </OutArgument>
      </eeecwa:eHealthP12Sender.To>
    </eeecwa:eHealthP12Sender>
    <eeecwa:Recipients DisplayName="To Iryna" sap2010:WorkflowViewState.IdRef="Recipients_2">
      <eeecwa:Recipients.Addressed>
        <InArgument x:TypeArguments="scg:ICollection(x:String)">
          <mca:CSharpValue x:TypeArguments="scg:ICollection(x:String)">new String[] { "SSIN=83121034221" }</mca:CSharpValue>
        </InArgument>
      </eeecwa:Recipients.Addressed>
      <eeecwa:Recipients.To>
        <OutArgument x:TypeArguments="eeecw:Recipients">
          <mca:CSharpReference x:TypeArguments="eeecw:Recipients">RecipientsVar</mca:CSharpReference>
        </OutArgument>
      </eeecwa:Recipients.To>
    </eeecwa:Recipients>
    <eeecwa:Seal EtkDepotUri="https://services.ehealth.fgov.be/EtkDepot/v1" sap2010:WorkflowViewState.IdRef="Seal_1" TimeInfoType="TimeStampAuthrity_Rfc3161" TimeStampAuthorityUri="http://tsa.belgium.be/connect">
      <eeecwa:Seal.InMessage>
        <InArgument x:TypeArguments="si:Stream">
          <mca:CSharpValue x:TypeArguments="si:Stream">inMsg</mca:CSharpValue>
        </InArgument>
      </eeecwa:Seal.InMessage>
      <eeecwa:Seal.OutMessage>
        <InArgument x:TypeArguments="si:Stream">
          <mca:CSharpValue x:TypeArguments="si:Stream">outMsg</mca:CSharpValue>
        </InArgument>
      </eeecwa:Seal.OutMessage>
      <eeecwa:Seal.Recipients>
        <InArgument x:TypeArguments="eeecw:Recipients">
          <mca:CSharpValue x:TypeArguments="eeecw:Recipients">RecipientsVar</mca:CSharpValue>
        </InArgument>
      </eeecwa:Seal.Recipients>
      <eeecwa:Seal.Sender>
        <InArgument x:TypeArguments="eeecw:Sender">
          <mca:CSharpValue x:TypeArguments="eeecw:Sender">SenderVar</mca:CSharpValue>
        </InArgument>
      </eeecwa:Seal.Sender>
    </eeecwa:Seal>
    <sads:DebugSymbol.Symbol>d2ZDOlxVc2Vyc1xhZG1pblxEb2N1bWVudHNcVmlzdWFsIFN0dWRpbyAyMDEyXFByb2plY3RzXEVURUVcZXRlZS1jcnlwdG8taXRlc3RcRnJvbVAxMndUU0FUb0tub3duT3V0LnhhbWwPOAN7DgIBATwLPGQCAQdBC0FmAgECRwVXHwIBLFgFYxkCASFkBXkTAgEMVAtUXgIBN0oLSpABAgEyTwtPbgIBLWALYGYCASdbC1t9AgEibAtsUAIBHHELcV4CARd2C3ZWAgESZwtnTwIBDQ==</sads:DebugSymbol.Symbol>
  </Sequence>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="eHealthP12Sender_1" sap:VirtualizedContainerService.HintSize="447,114" />
      <sap2010:ViewStateData Id="Recipients_2" sap:VirtualizedContainerService.HintSize="447,88" />
      <sap2010:ViewStateData Id="Seal_1" sap:VirtualizedContainerService.HintSize="447,88" />
      <sap2010:ViewStateData Id="Sequence_2" sap:VirtualizedContainerService.HintSize="469,494">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Egelke.EHealth.Etee.ITest.EndToEnd_1" sap:VirtualizedContainerService.HintSize="509,574">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="ShouldCollapseAll">False</x:Boolean>
            <x:Boolean x:Key="ShouldExpandAll">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>